 <?php echo (!empty($this->blogupdatemess))?$this->blogupdatemess:"";?>
<script>
 
	$(function() {
                $( "#publish_up" ).datepicker();
		$( "#publish_up" ).datepicker('setDate',"<?php echo $this->publish_up;?>");
                 $( "#publish_up" ).datepicker( "option", "dateFormat", "yy-mm-dd" );

                  $( "#publish_down" ).datepicker();
                $( "#publish_down" ).datepicker('setDate',"<?php echo $this->publish_down;?>");
                 $( "#publish_down" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
	});
	 

</script>
<table align="center" width="100%" cellspacing="0" cellpadding="0" border="0">
      <tbody>
          <tr><td><a href="/blog/index/">List</a></td><td><a href="/blog/add/">New</a></td></tr>
          <tr><td><?php echo (isset($this->blogupdatemess))?$this->blogupdatemess:"";?></td></tr>
          <tr>
        <td align="left" valign="top"><table align="center" width="100%" cellspacing="2" cellpadding="2" bordercolor="#e0e0e0" border="0" style="border:solid 1px #e0e0e0; border-radius:5px;margin-left: 20px;border-right-width: 1px;width: 800px;margin-top: 20px;margin-bottom: 20px;padding-right:500px; ">
          <tbody><tr>
            <td valign="top" style="padding-left: 20px;padding-right: 20px;padding-top: 20px;padding-bottom: 2px;" class="heading">

               <?php
                 echo $this->blogform;
               ?>

            </td>
          </tr>
        
        </tbody></table></td>
      </tr>
    </tbody></table>